package sv.gob.mh.dgii.model;

// Generated Dec 12, 2007 1:25:05 PM by Hibernate Tools 3.2.0.CR1

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * DvSeisExport generated by hbm2java
 */
@Entity
@Table(name = "DV_SEIS_EXPORT", schema = "DEVOLUCIONES")
public class DvSeisExport implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3222253983087638757L;
	private Long iindice;
	private EdDeclaraciones edDeclaraciones;
	private String nfolio;
	private RcRuc rcRuc;
	private String sactEco;
	private String ntelefono;
	private String fax;
	private String nitrepresentante;
	private String s1apeSolic;
	private String s2apeSolic;
	private String snombresSolic;
	private String mcalidadSolic;
	private Long nacuerdo;
	private Date facuerdo;
	private Long ndiarioOficial;
	private Long ntomoDiarioOfic;
	private Date fpubDiarioOfic;
	private Date fpresentacion;
	private Date fpresEconom;
	private Double vtotalDevol;

	public DvSeisExport() {
	}

	public DvSeisExport(Long iindice, String nfolio, RcRuc rcRuc, String nitrepresentante,
			Long nacuerdo, Date facuerdo, Long ndiarioOficial, Long ntomoDiarioOfic,
			Date fpubDiarioOfic, Date fpresentacion, Double vtotalDevol) {
		this.iindice = iindice;
		this.nfolio = nfolio;
		this.rcRuc = rcRuc;
		this.nitrepresentante = nitrepresentante;
		this.nacuerdo = nacuerdo;
		this.facuerdo = facuerdo;
		this.ndiarioOficial = ndiarioOficial;
		this.ntomoDiarioOfic = ntomoDiarioOfic;
		this.fpubDiarioOfic = fpubDiarioOfic;
		this.fpresentacion = fpresentacion;
		this.vtotalDevol = vtotalDevol;
	}

	/**
	 * @return the iindice
	 */
	@Id
	@Column(name = "I_INDICE", nullable = false, precision = 18, scale = 0)
	public Long getIindice() {
		return iindice;
	}

	/**
	 * @param iindice
	 *            the iindice to set
	 */
	public void setIindice(Long iindice) {
		this.iindice = iindice;
	}

	/**
	 * @return the edDeclaraciones
	 */
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "I_INDICE", unique = true, nullable = false, insertable = false, updatable = false)
	public EdDeclaraciones getEdDeclaraciones() {
		return edDeclaraciones;
	}

	/**
	 * @param edDeclaraciones
	 *            the edDeclaraciones to set
	 */
	public void setEdDeclaraciones(EdDeclaraciones edDeclaraciones) {
		this.edDeclaraciones = edDeclaraciones;
	}

	/**
	 * @return the nfolio
	 */
	@Column(name = "N_FOLIO", nullable = false, length = 12)
	public String getNfolio() {
		return nfolio;
	}

	/**
	 * @param nfolio
	 *            the nfolio to set
	 */
	public void setNfolio(String nfolio) {
		this.nfolio = nfolio;
	}

	/**
	 * @return the rcRuc
	 */
	@ManyToOne(fetch = FetchType.EAGER)
	@JoinColumn(name = "NIT")
	public RcRuc getRcRuc() {
		return rcRuc;
	}

	/**
	 * @param rcRuc
	 *            the rcRuc to set
	 */
	public void setRcRuc(RcRuc rcRuc) {
		this.rcRuc = rcRuc;
	}

	/**
	 * @return the sactEco
	 */
	@Column(name = "S_ACT_ECO", nullable = true, length = 60)
	public String getSactEco() {
		return sactEco;
	}

	/**
	 * @param sactEco
	 *            the sactEco to set
	 */
	public void setSactEco(String sactEco) {
		this.sactEco = sactEco;
	}

	/**
	 * @return the ntelefono
	 */
	@Column(name = "N_TELEFONO", nullable = true, length = 8)
	public String getNtelefono() {
		return ntelefono;
	}

	/**
	 * @param ntelefono
	 *            the ntelefono to set
	 */
	public void setNtelefono(String ntelefono) {
		this.ntelefono = ntelefono;
	}

	/**
	 * @return the fax
	 */
	@Column(name = "N_FAX", nullable = true, length = 8)
	public String getFax() {
		return fax;
	}

	/**
	 * @param fax
	 *            the fax to set
	 */
	public void setFax(String fax) {
		this.fax = fax;
	}

	/**
	 * @return the nitrepresentante
	 */
	@Column(name = "NIT_REPRESENTANTE", nullable = false, length = 14)
	public String getNitrepresentante() {
		return nitrepresentante;
	}

	/**
	 * @param nitrepresentante
	 *            the nitrepresentante to set
	 */
	public void setNitrepresentante(String nitrepresentante) {
		this.nitrepresentante = nitrepresentante;
	}

	/**
	 * @return the s1apeSolic
	 */
	@Column(name = "S_1APE_SOLIC", nullable = true, length = 25)
	public String getS1apeSolic() {
		return s1apeSolic;
	}

	/**
	 * @param s1apeSolic
	 *            the s1apeSolic to set
	 */
	public void setS1apeSolic(String s1apeSolic) {
		this.s1apeSolic = s1apeSolic;
	}

	/**
	 * @return the s2apeSolic
	 */
	@Column(name = "S_2APE_SOLIC", nullable = true, length = 25)
	public String getS2apeSolic() {
		return s2apeSolic;
	}

	/**
	 * @param s2apeSolic
	 *            the s2apeSolic to set
	 */
	public void setS2apeSolic(String s2apeSolic) {
		this.s2apeSolic = s2apeSolic;
	}

	/**
	 * @return the snombresSolic
	 */
	@Column(name = "S_NOMBRES_SOLIC", nullable = true, length = 40)
	public String getSnombresSolic() {
		return snombresSolic;
	}

	/**
	 * @param snombresSolic
	 *            the snombresSolic to set
	 */
	public void setSnombresSolic(String snombresSolic) {
		this.snombresSolic = snombresSolic;
	}

	/**
	 * @return the mcalidadSolic
	 */
	@Column(name = "M_CALIDAD_SOLIC", nullable = true, length = 1)
	public String getMcalidadSolic() {
		return mcalidadSolic;
	}

	/**
	 * @param mcalidadSolic
	 *            the mcalidadSolic to set
	 */
	public void setMcalidadSolic(String mcalidadSolic) {
		this.mcalidadSolic = mcalidadSolic;
	}

	/**
	 * @return the nacuerdo
	 */
	@Column(name = "N_ACUERDO", nullable = false, precision = 18, scale = 0)
	public Long getNacuerdo() {
		return nacuerdo;
	}

	/**
	 * @param nacuerdo
	 *            the nacuerdo to set
	 */
	public void setNacuerdo(Long nacuerdo) {
		this.nacuerdo = nacuerdo;
	}

	/**
	 * @return the facuerdo
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(insertable = true, name = "F_ACUERDO", length = 7, nullable = true, updatable = true)
	public Date getFacuerdo() {
		return facuerdo;
	}

	/**
	 * @param facuerdo
	 *            the facuerdo to set
	 */
	public void setFacuerdo(Date facuerdo) {
		this.facuerdo = facuerdo;
	}

	/**
	 * @return the ndiarioOficial
	 */
	@Column(name = "N_DIARIO_OFICIAL", nullable = true, precision = 18, scale = 0)
	public Long getNdiarioOficial() {
		return ndiarioOficial;
	}

	/**
	 * @param ndiarioOficial
	 *            the ndiarioOficial to set
	 */
	public void setNdiarioOficial(Long ndiarioOficial) {
		this.ndiarioOficial = ndiarioOficial;
	}

	/**
	 * @return the ntomoDiarioOfic
	 */
	@Column(name = "N_TOMO_DIARIO_OFIC", nullable = true, precision = 18, scale = 0)
	public Long getNtomoDiarioOfic() {
		return ntomoDiarioOfic;
	}

	/**
	 * @param ntomoDiarioOfic
	 *            the ntomoDiarioOfic to set
	 */
	public void setNtomoDiarioOfic(Long ntomoDiarioOfic) {
		this.ntomoDiarioOfic = ntomoDiarioOfic;
	}

	/**
	 * @return the fpubDiarioOfic
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(insertable = true, name = "F_PUB_DIARIO_OFIC", length = 7, nullable = true, updatable = true)
	public Date getFpubDiarioOfic() {
		return fpubDiarioOfic;
	}

	/**
	 * @param fpubDiarioOfic
	 *            the fpubDiarioOfic to set
	 */
	public void setFpubDiarioOfic(Date fpubDiarioOfic) {
		this.fpubDiarioOfic = fpubDiarioOfic;
	}

	/**
	 * @return the fpresentacion
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(insertable = true, name = "F_PRESENTACION", length = 7, nullable = false, updatable = true)
	public Date getFpresentacion() {
		return fpresentacion;
	}

	/**
	 * @param fpresentacion
	 *            the fpresentacion to set
	 */
	public void setFpresentacion(Date fpresentacion) {
		this.fpresentacion = fpresentacion;
	}

	/**
	 * @return the fpresEconom
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(insertable = true, name = "F_PRES_ECONOM", length = 7, nullable = false, updatable = true)
	public Date getFpresEconom() {
		return fpresEconom;
	}

	/**
	 * @param fpresEconom
	 *            the fpresEconom to set
	 */
	public void setFpresEconom(Date fpresEconom) {
		this.fpresEconom = fpresEconom;
	}

	/**
	 * @return the vtotalDevol
	 */
	@Column(name = "V_TOTAL_DEVOL", nullable = false, precision = 11, scale = 2)
	public Double getVtotalDevol() {
		return vtotalDevol;
	}

	/**
	 * @param vtotalDevol
	 *            the vtotalDevol to set
	 */
	public void setVtotalDevol(Double vtotalDevol) {
		this.vtotalDevol = vtotalDevol;
	}

}
